﻿using Orleans;
using Orleans.Concurrency;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common
{
    /// <summary>
    /// 交管区信息集合
    /// </summary>
    public interface IAreaSet : IGrainWithIntegerKey
    {
        Task 重置交管区( );

        [AlwaysInterleave]
        Task<long> 是否在区域内(int X, int Y);


        Task 启用禁用(long AreaID, bool Disable);
    }
}
